import jieba.posseg as posseg
content = "李明喜欢韩梅梅，他俩早恋了"

for word, flag in posseg.cut(content):
    if flag == "nr":
        print(word, flag)